package com.zxh.spDemo.service;


import com.zxh.spDemo.domain.Permission;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface PermissionService {
    public Permission createPermission(Permission permission);
    public void deletePermission(Long permissionId);
    public void deletePermissions(Long permissionId);
    public List<Permission> getPermissions();
    public Permission getPermissionByid(Long permissionid);
    public Permission updatePermission(Permission permission);
    public List<Permission> getPagePermissions(int pagenum, int pagesize);
}
